Double Open Server
The DOS scanner wrapper is a client for the scanner API implemented as part of the Double Open Server project at https://github.com/doubleopen-project/dos. The server runs ScanCode in the backend and stores / reuses scan results on a per-file basis and thus uses its own scan storage.
Configuration
Example
Use the following syntax to configure this plugin globally as part of config.yml
:
ort:
scanner:
scanners:
DOS:
options:
url: <OPTIONAL_STRING>
timeout: <OPTIONAL_LONG>
pollInterval: 5
frontendUrl: "http://localhost:3000"
writeToStorage: true
secrets:
token: <OPTIONAL_SECRET>
Options
url
The URL where the DOS backend is running.
token
The secret token to use with the DOS backend.
timeout
The timeout for communicating with the DOS backend, in seconds.
pollInterval
Interval (in seconds) to use for polling scanjob status from DOS API.
frontendUrl
The URL where the DOS / package curation front-end is running.
writeToStorage
Whether to write scan results to the storage.